#include <iostream>
#include <vector>
using namespace std;

void printvector ( const vector <int>& V,int n)
  {cout <<"V:[";
   for (int i=0; i<V.size(); i++)
     {if (i>0) cout <<" "; cout << V[i];
     }
   cout <<"]"<<endl;
  }


void sredney ( const vector <int>& V, int& sr, int n)
  {for (int i=0; i<V.size(); i++)
     {sr=sr+V[i];
     }
   sr=sr/n;
   cout <<"sredney rost - " <<sr<< endl;
  }


void wishe ( const vector <int>&V, int w, int&n, int&sr)
  {for (int i=0; i<n; i++)
     {if(V[i]>sr) w=w+1;
     }
   cout <<" kol-vo cheloveck wishe srednego rosta - " <<w<< endl;
  }

 int main ()
  {int sr=0; int w=0; int n=0;  vector <int> V; int k;
   cout <<"VVedite kol-vo uchashiyhsya " ;
   cin >>n;
   while (cin >>k) {V.push_back(k);}
   printvector(V,n);
   sredney(V,sr,n);
   wishe(V,w,n,sr);
  }
